import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import javax.annotation.Resource;
import static org.junit.jupiter.api.Assertions.*;

@SpringBootTest
public class LoginServiceTest {
    @Resource
    private LoginService loginService;

    @Test
    public void testLogin() {
        boolean result = loginService.login("test_user", "test_password");
        assertEquals(result, true);
    }
}